home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / maksiu / lists / amoslist-1295.lzh / AMOSLIST / 000085_amos-request@svcs1.digex.net_Fri Dec 15 12:42:02 1995.msg < prev    next >
Internet Message Format  |  1995-12-31  |  3KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id MAA02605;  for <mcox@access.digex.net> ; Fri, 15 Dec 1995 12:42:00 -0500
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id EAA29325 for amos-out; Wed, 6 Dec 1995 04:31:35 -0500
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id EAA29322 for <amos-list@svcs1.digex.net>; Wed, 6 Dec 1995 04:31:33 -0500
  4. Received: from tc6.chem.ruu.nl (tc6.chem.ruu.nl [131.211.82.26]) by mail1.access.digex.net (8.6.12/8.6.12) with SMTP id EAA27285;  for <amos-list@access.digex.net> ; Wed, 6 Dec 1995 04:31:32 -0500
  5. Message-Id: <199512060931.EAA27285@mail1.access.digex.net>
  6. Received: by tc6.chem.ruu.nl
  7.     (1.37.109.4/16.2) id AA11672; Wed, 6 Dec 95 10:35:53 +0100
  8. Subject: Re: Parallel Port, Direct control?
  9. To: jamesb@cin.gov.au (James Brown) (James Brown)
  10. Date: Wed, 6 Dec 95 10:35:50 MET
  11. Cc: amos-list@access.digex.net (Amos-Mailing-List)
  12. In-Reply-To: <199512050454.PAA16126@canb.cin.gov.au>; from "James Brown" at Dec 5, 95 3:54 pm
  13. From: m.g.d.wehrens@chem.ruu.nl (Martijn Wehrens)
  14. Organisation: Utrecht University
  15. Reply: m.g.d.wehrens@chem.ruu.nl
  16. Reply-To: m.g.d.wehrens@chem.ruu.nl
  17. Mailer: Elm [revision: 70.85]
  18. Status: RO
  19. X-Status: 
  20.  
  21. > Hi!
  22. Hi too!
  23.  
  24. > I've written a front-end for a robotics program, But want to use the
  25. > parallel port for output.
  26. > The problem im having is that i dont want to use a
  27. > sophisticated interface. With IBMS (GASP!!!!) you can just, Eg in
  28. > quickbasic, Use out XXXX ect
  29. > But im not sure how to do this in amos. AMOS seems to be very
  30. > fussy about the control lines!!!! I am using amos 1.3. 
  31.  
  32. Well, a friend of mine tried to do the same thing with amos 1.3
  33. too. He used a print-drill via the parallel-port
  34. This did work in the end, but not thanks to AMOS 1.3
  35. You should realise that the parallel.device from the amiga -which
  36. is accessed through PAR: in AMOS1.3- wants a handshake.
  37. So if you just write to PAR: nothing happens because the Amiga will
  38. wait for a handshake from the other end.
  39. In AMOSPro you may acces the parallel.device directly and thus
  40. you may be able to (using the RKM.devices) access it properly.
  41. If not, the simplest option is to Loke,Doke and Poke straight into
  42. the parallel-ports memory-mapped places. Which is very close to
  43. what you are doing on the IBMs. Note: under MSDUMB this is quite OK
  44. but not under windoze or OS2 etc. The amiga also expects to have
  45. access to the port unless prohibited by a task (through the
  46. parallel.device). So my friend used the hardware approach and this
  47. works fine. Other programs will work OK as well if they do not
  48. attempt to use the parallel port.
  49. I DO NOT have the addresses needed here, look them up in the
  50. hardware manual or 'amiga intern' or such. I can look them up if
  51. you realy want. Maybe someone else knows them by heart :-?
  52.  
  53. Hope this is of help.
  54. >                      James Brown
  55. >                     GCC PRESIDENT
  56. ---------------------------------------------------------------
  57. Martijn Wehrens, Theoretical Chemistry Group Utrecht University
  58. email m.g.d.wehrens@chem.ruu.nl          
  59. ---------------------------------------------------------------